<div class="j-opt j-opt-color">
    <input type="text" class="journal-input" data-ng-model="ngModel.value.color" color-picker />
    <a href="javascript:;" bs-popover="'view/journal2/tpl/directives/j-opt-color-gradient-popover.html'" data-ng-model="ngModel.value.gradient">Gradient</a>
</div>